* {
	/* 页面初始化 清除元素的内外边距 */
	padding: 0;
	margin: 0;
}
body {
	/* 宽度占浏览器可视区域的高度 */
	width: 100vm;
	background-color: #f2f2f2;
}
li {
	/* 清除li元素前面的项目符号 */
	list-style: none;
}
a {
	/* 清除a元素的下划线 */
	text-decoration: none;
	color: #000;
}
.navbar {
	width: 100%;
	height: 70px;
	background-color: #fff;
	/* 盒子阴影 */
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.navbar .nav {
	width: 300px;
	height: 100%;
	float: right;
}
.navbar .nav ul {
	/* 相对定位 */
	position: relative;
	/* 弹性布局 */

	/* 让子元素平均分配宽度 */
	justify-content: space-around;
	width: 100%;
	height: 100%;
}
.navbar ul li:first-child img {
	height: 100%;
	width: 70px;
	border-radius: 50%;
}
.navbar .nav ul > li {
	width: 100%;
	height: 100%;
}
.navbar .nav ul > li > a {
	/* 因为a元素是行内元素 必须将其转为行内块或者块级才能设置宽度和高度 */
	display: block;
	width: 100%;
	height: 100%;
	line-height: 70px;
	text-align: center;
}
.navbar .nav ul > li ol {
	width: 100%;
	background-color: #fff;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	/* 让盒子先沿着y轴缩放到0 也就是隐藏了 */
	transform: scaleY(0);
	/* 我们需要将盒子从上面滑动下来 设置一下缩放的中心点即可 设置到最上面的中间位置 */
	transform-origin: 50% 0;
	/* 设置过渡 */
	transition: all 0.6s;
}
.navbar .nav ul > li ol li {
	height: 70px;
	border-bottom: 1px solid rgb(245, 245, 245);
}
.navbar .nav ul > li ol li a {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 70px;
	text-align: center;
}
.navbar .nav ul > li ol li:hover {
	background-color: rgba(0, 0, 0, 0.03);
}
.navbar .nav ul > li:hover ol {
	transform: scaleY(1);
}
/*表*/
        /* 样式表 */
        .search-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 50px;
        }
        .search-box {
            display: flex;
            border: 2px solid #bbb;
            border-radius: 30px;
            padding: 5px 10px;
            box-shadow: 0 0 10px #ccc;
            background-color: #fff;
            transition: all .3s ease;
        }
        .search-box:focus-within {
            outline: none;
            border-color: #0066FF;
            box-shadow: 0 0 10px #0066FF;
            background-color: #f0f0f0;
        }
        .search-box input[type="text"] {
            border: none;
            width: 300px;
            font-size: 18px;
            padding-left: 10px;
            padding-right: 10px;
        }
        .search-box button[type="submit"] {
            border: none;
            background-color: #0066FF;
            color: #fff;
            border-radius: 30px;
            padding: 7px 20px;
            margin-left: 10px;
            font-size: 16px;
            cursor: pointer;
            transition: all .3s ease;
        }
        .search-box button[type="submit"]:hover {
            background-color: #0040FF;
        }

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #3D4852;
  text-transform: uppercase;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin-top: 20px;
}

table th, table td {
  border: 1px solid #E2E8F0;
  padding: 10px;
  text-align: center;
  color: #4A5568;
}

table th {
  background-color: #EDF2F7;
  font-weight: 700;
  text-transform: uppercase;
}

table td {
  background-color: #fff;
  font-weight: 500;
  max-width: 300px;
}

table tbody tr:hover {
  background-color: #F7FAFC;
}

table tbody tr:nth-child(even) {
  background-color: #F7FAFC;
}



@media only screen and (max-width: 768px) {

  table {
    font-size: 14px;
  }

  table thead tr {
    display: none;
  }

  table tbody tr td {
    display: block;
    text-align: right;
    padding: 10px 0;
  }

  table tbody tr td:before {
    content: attr(data-label);
    display: inline-block;
    text-align: left;
    font-weight: bold;
    width: 50%;
  }
}


